const mongoose = require('./../db')
const Schema = mongoose.Schema

const schema = new Schema({
  categoryid: { type: String, required: true },
  categoryname: { type: String, required: true },
  navid: { type: String, required: true },
  titleImg: { type: String, required: true },
  name: { type: String, required: true },
  icon: { type: String, required: true },
  jump: { type: String, required: true }
})

module.exports = mongoose.model('Navlist', schema)